<template>
	<view class="tpage">
		<view class="page-container">
			<view class="page-item">
				<view class="item-title">问题和意见</view>
			</view>
			<view class="page-item page-input">
				<textarea class="textarea-t" value="" v-model="postData.content" placeholder="请详细描述您的问题和意见..." />
			</view>
			<view class="page-item">
				<view class="item-title">QQ/邮箱</view>
				<input class="page-input input-t" v-model="postData.ext" placeholder="方便我们联系您"/>
			</view>
			<button class="submit-btn" @tap="feedBackTap">提交</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				postData:{
					content:"",
					type:"",
					ext:""
				}
			}
		},
		methods: {
			feedBackTap(){
				this.$Helper.tpfToast({title:"开发中..."});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.tpage{
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}
	.page-container{
		display: flex;
		justify-content: flex-start;
		flex-direction: column;
		align-items: stretch;
		padding: 20rpx;
	}
	.page-item{
		font-size: $uni-font-size-base;
		color: $uni-text-color-grey;
	}
	.item-title{
		line-height: 80rpx;
	}
	.page-input{
		background-color: $uni-bg-color-hover;
		border-radius: 5px;
		padding: 20rpx;
	}
	.input-t{
		height: 50rpx;
	}
	.textarea-t{
		height: 270rpx;
	}
	.submit-btn{
		margin:20rpx 0 0;
		background-color: #f10000;
		border-radius: $uni-border-radius-sm;
		color: #ffffff;
		margin-top: 80rpx;
	}
</style>
